<link rel="stylesheet" href="<?php echo STATIC_URL.'/backend/css/notice.css'?>" />
<?php $this->load->view('templates/backend/lib'); ?>
<script>
function closeFancy(){
    parent.jQuery.fancybox.close();
}
</script>
<?php
    $airline                = implode(", ",json_decode($info->airline));
    $booking_place_code     = implode(", ",json_decode($info->booking_place_code));
    
    if($info->real_fare){
        $real_fare = $this->bookinglib->my_number_format($info->real_fare, 2, ',', ',');
    } else {
        $real_fare = 0;
    }
    
?>
<div id="container2">
    <h3 id="nav2" class="logo">
        <a id="logo">THÔNG TIN CHỨNG TỪ</a>
    </h3>
    <div id="wufoo-mz9i3ib0wkzqls">
                <p style="text-align: center;">THÔNG TIN CHỨNG TỪ</p>
                <?php
                if($info){
                ?>
                    <ul>
                        <li><?php echo $this->lang->line("airline").' : '.$airline; ?></li>
                        <li><?php echo $this->lang->line("booking_place_code").' : '.$booking_place_code; ?></li>
                        <li><?php echo $this->lang->line("net_fare").' : '.$this->bookinglib->my_number_format($info->net_fare, 2, ',', ',').' VND'; ?></li>
                        <li><?php echo $this->lang->line("sale_fare").' : '.$this->bookinglib->my_number_format($info->sale_fare, 2, ',', ',').' VND'; ?></li>
                        <li><?php echo $this->lang->line("real_fare").' : '.$real_fare.' VND'; ?></li>

                        <li><?php echo $this->lang->line("before_surplus").' : '.$this->bookinglib->my_number_format($info->surplus, 2, ',', ',').' VND'; ?></li>
                        <li><?php echo $this->lang->line("after_surplus").' : '.$this->bookinglib->my_number_format($info->residual, 2, ',', ',').' VND'; ?></li>
                    </ul>
                <?php
                } else {
                    echo 'Chưa có thông tin';
                }
                ?>
                <div class="top-button">
                        <?php echo form_button(array('id' => 'cancel','content' => $this->lang->line('close'),'class' => 'btn','onclick'=>'closeFancy()')); ?>
                </div>
                <div id="success"></div>
    </div>
</div>
